cssnode: Special-case TIMESTAMP invalidations
authorBenjamin Otte <otte@redhat.com>
Wed, 25 Feb 2015 17:25:01 +0000 (18:25 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 18 Mar 2015 14:23:33 +0000 (15:23 +0100)
commitd9727290cfcbf68fe55bb29156a312b20ab9e615
tree1dcb2f2ab3f028c9d1eac2e0e31ff24b688eee7e
parent68b8f792d6edb7e5e67dbbba0991ce7dc1a7a449
cssnode: Special-case TIMESTAMP invalidations

Only invalidate timestamps if the node is marked as invalid. We overload
the meaning of "invalid" as "tracks timestamps".

While I don't like the way this is written, it is an important
optimization because 95+% of nodes don't animate so timestamps don't
matter to them. But timestamps are invalidated 60x per second.
gtk/gtkcssnode.c